#ifndef _FRAME_SRC_COMPOSITE_
#define _FRAME_SRC_COMPOSITE_
#include <vector>
#include "frame_src_component.h"
using namespace std;
class CFrameSrcComposite:public CFrameSrcComonent
{
public:
	CFrameSrcComposite();
	~CFrameSrcComposite();
	virtual void Close();
	
	virtual int start() ;
	virtual void stop();

	virtual int add(CFrameSrcComonent* pStream);
	CFrameSrcComonent* get_comonent(int stream_id);
	void show_log(int stream_id,bool b_show);
private:
	typedef vector<CFrameSrcComonent*> VEC_COMPONENT;
	VEC_COMPONENT m_vecComponent;
};

#endif